package com.team06.pojo;

import lombok.Data;

import java.util.List;

@Data
public class Ckls {
    // META 节点相关属性（如果 XML 中有，这里根据实际补充，示例先简化，可按需求完善）
    private String metaSnDR;
    private String metaRCVR;
    private int metaSEQN;
    private String metaDDTM;
    private String metaTYPE;
    private String metaSTYP;

    // DFLT 节点相关属性
    private String dfltFLID;
    private String dfltFFID;
    private String dfltFIDE;
    private String dfltFATT;
    private String dfltCklsFces;
    private String dfltCklsFcee;
    private String dfltCklsFcrs;
    private String dfltCklsFcre;
    private String dfltCklsMces;
    private String dfltCklsMcee;
    private String dfltCklsMcrs;
    private String dfltCklsMcre;
    private String dfltCklsFcdp;
    private String dfltCklsMcdp;
    private List<Cntr> cntrList; // 对应 <CNTR> 子节点列表

    @Data
    public static class Cntr {
        private int ckno;
        private String id;
        private String code;
        private String ckat;
        private String type;
        private String ccar;
        private String estr;
        private String eend;
        private String rstr;
        private String rend;
        private String btsc;
    }
}
